package org.jeecg.modules.charge.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.vo.charge.ChargeMethod;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 收款方式
 * @Author: jeecg-boot
 * @Date:   2019-07-04
 * @Version: V1.0
 */
public interface IChargeMethodService extends IService<ChargeMethod> {

    //收款方式分页+模糊查询
    Page<ChargeMethod> listByParams(Page<ChargeMethod> page, String name,String tenantId);

    Result add(ChargeMethod chargeMethod);

    List<ChargeMethod> getPayMethodList(Integer routeType,String tenantId);
}
